package pe.gob.sunat.georeferencia.model.dao;

import pe.gob.sunat.georeferencia.model.domain.Cliente;
import pe.gob.sunat.georeferencia.model.domain.ClienteExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;



@Repository(value = "clienteMapper")
public interface ClienteMapper {
    int countByExample(ClienteExample example);

    int deleteByExample(ClienteExample example);

    int deleteByPrimaryKey(Integer idCliente);

    int insert(Cliente record);

    int insertSelective(Cliente record);

    List<Cliente> selectByExampleWithBLOBs(ClienteExample example);

    List<Cliente> selectByExample(ClienteExample example);

    Cliente selectByPrimaryKey(Integer idCliente);

    int updateByExampleSelective(@Param("record") Cliente record, @Param("example") ClienteExample example);

    int updateByExampleWithBLOBs(@Param("record") Cliente record, @Param("example") ClienteExample example);

    int updateByExample(@Param("record") Cliente record, @Param("example") ClienteExample example);

    int updateByPrimaryKeySelective(Cliente record);

    int updateByPrimaryKeyWithBLOBs(Cliente record);

    int updateByPrimaryKey(Cliente record);
    
   /**Consultas Personalizadas**/
    
    List<Map<String,Object>>  selectAllCliente(Map<String,Object> params);
    int selectCountAllCliente(Map<String,Object> params);
}